package com.one.mapper;

import com.one.pojo.CleanRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CleanRcordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CleanRecord record);

    int insertSelective(CleanRecord record);

    CleanRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CleanRecord record);

    int updateByPrimaryKey(CleanRecord record);

    CleanRecord selectByCleanId(@Param("cleanId")String cleanId,@Param("daily")String daily,@Param("friendId")String friendId);

    int countNum(@Param("cleanId")String cleanId);

    List<CleanRecord> findByCleanId(@Param("cleanId")String cleanId,@Param("start")Integer PageNo,@Param("PageSize") Integer PageSize);

}